import React,{Component} from "react";
import {connect} from "react-redux";
const mapStateToProps=(state)=>{
 return{
     count:state.count
 }
}

 class About extends Component{
    render() {
        const {count}=this.props;
        return(
            <div>
                hehehe    haimeiyou
                <hr/>
                {count}
            </div>
        )
    }
}
export default connect(mapStateToProps)(About);